/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author Niels Leguit <niels.leguit at hva.nl>
 */
public class ContactController extends HttpServlet {
@Override
    public void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {    

        // Hier volgt de 5 bovenknoppen active array, in gebruik in include/top_nav.jsp
        Boolean[] topNavActive = new Boolean[]{
            false, false, false, false, true};
        request.setAttribute("topNavActive", topNavActive);

        String address = "contact.jsp";
        RequestDispatcher dispatcher = request.getRequestDispatcher(address);
        dispatcher.forward(request, response);
    } 
}